package com.wh1200.mybatis.xmlless.model

import com.wh1200.mybatis.xmlless.model.base.BaseCriteria


/**
 * Created by 吴昊 on 2018/12/20.
 */
class WhenCriteria(
    criterion: List<BaseCriteria>,
    methodInfo: MethodInfo,
    testInfo: TestInfo,
    append: ConditionConnector = ConditionConnector.AND
) : QueryCriteriaGroup(
    criterion, methodInfo, testInfo, append
) {

  override fun getIfTag(): String {
    return "when"
  }

}
